package com.ark.cloud.java.persistence.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 传感器信息
 */
@Data
@TableName("sensor_info")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class SensorInfo {

    @TableField("id")
    private Long sensorInfoId;

    @TableField("entity_id")
    private String id;//传感器ID

    @TableField("db_id")
    private int dbid;//传感器在数据库中的DBID
    @TableField("sensor_type")
    private short sensorType;//传感器类别 ESensorType
}
